package com.ys.entity.finance;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_OperatieCompanyTransactionType", catalog="Id")
public class TcwOperatieCompanyTransactionType extends BaseEntity<TcwOperatieCompanyTransactionType> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="FirstLevelType", nameJava="firstLevelType", typeDataBase="varchar")
	private String firstLevelType;
	@YsField(nameDataBase="SecondLevelType", nameJava="secondLevelType", typeDataBase="varchar")
	private String secondLevelType;
	@YsField(nameDataBase="ThirdLevelType", nameJava="thirdLevelType", typeDataBase="varchar")
	private String thirdLevelType;
	@YsField(nameDataBase="CompleteType", nameJava="completeType", typeDataBase="varchar")
	private String completeType;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwOperatieCompanyTransactionType setId(Long id) {
		this.id = id;
		return this;
	}
	public String getFirstLevelType() {
		return firstLevelType;
	}
	public TcwOperatieCompanyTransactionType setFirstLevelType(String firstLevelType) {
		this.firstLevelType = firstLevelType;
		return this;
	}
	public String getSecondLevelType() {
		return secondLevelType;
	}
	public TcwOperatieCompanyTransactionType setSecondLevelType(String secondLevelType) {
		this.secondLevelType = secondLevelType;
		return this;
	}
	public String getThirdLevelType() {
		return thirdLevelType;
	}
	public TcwOperatieCompanyTransactionType setThirdLevelType(String thirdLevelType) {
		this.thirdLevelType = thirdLevelType;
		return this;
	}
	public String getCompleteType() {
		return completeType;
	}
	public TcwOperatieCompanyTransactionType setCompleteType(String completeType) {
		this.completeType = completeType;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwOperatieCompanyTransactionType setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwOperatieCompanyTransactionType setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwOperatieCompanyTransactionType setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwOperatieCompanyTransactionType tcwOperatieCompanyTransactionType(
		String firstLevelType,
		String secondLevelType,
		String thirdLevelType,
		String completeType,
		Integer status
			) {
		TcwOperatieCompanyTransactionType entity = new TcwOperatieCompanyTransactionType();
		entity.setFirstLevelType(firstLevelType);
		entity.setSecondLevelType(secondLevelType);
		entity.setThirdLevelType(thirdLevelType);
		entity.setCompleteType(completeType);
		entity.setStatus(status);
		return entity;
	}
}